﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xAtom_GetRef（获取xAtom对象的引用计数）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function xAtom_GetRef(x As xAtom Ptr) As Integer<br>int xAtom_GetRef(xAtom* x);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" xAtom_GetRef(ByVal x As Long) As Long</P>
<P>参数：<br>x：xAtom对象指针</P>
<P>返回xAtom对象引用计数的数值。</P>
<P>说明：<br>获取xAtom对象的引用计数数值，引用计数用于多条线程共享xAtom对象，当引用计数为0时，调用xAtom_Delete这个对象将会被释放。</P>
</body>
</html>
